package com.yidu.drug.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.yidu.drug.common.Page;
import com.yidu.drug.common.Tools;

public class PurchaseOrderModel implements Serializable {
    private String poId;

    private String conId;

    private String poPerson;

    private Integer poSumnum;

    private BigDecimal poSumprice;

    private Date poTime;

    //状态
    private String poState;

    private String poRemark;

    private String isva;

    private String operator;

    private Integer sort;

    private Date cztime;
    
    private String gys;
    
    private Page page;
    
    private String time;
    
    //poState第0位 审核状态
    private String shzt;
    
    //poState第1位 采购状态
    private String cgzt;
    
    //poState第2位 提交状态
    private String tjzt;
    
    //poState第3位 质检状态
    private String zjzt;
    
    //poState第4位入库状态
    private String rkzt;
    
    
    
    public String getShzt() {
		return shzt;
	}

	public void setShzt(String shzt) {
		this.shzt = shzt;
	}

	public String getCgzt() {
		return cgzt;
	}

	public void setCgzt(String cgzt) {
		this.cgzt = cgzt;
	}

	public String getTjzt() {
		return tjzt;
	}

	public void setTjzt(String tjzt) {
		this.tjzt = tjzt;
	}

	public String getZjzt() {
		return zjzt;
	}

	public void setZjzt(String zjzt) {
		this.zjzt = zjzt;
	}

	public String getRkzt() {
		return rkzt;
	}

	public void setRkzt(String rkzt) {
		this.rkzt = rkzt;
	}

	public String getTime() {
    	time=Tools.getDateStr(poTime);
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getGys() {
		return gys;
	}

	public void setGys(String gys) {
		this.gys = gys;
	}

	public Page getPage() {
		return page;
	}

	public void setPage(Page page) {
		this.page = page;
	}

	private static final long serialVersionUID = 1L;

    public String getPoId() {
        return poId;
    }

    public void setPoId(String poId) {
        this.poId = poId;
    }

    public String getConId() {
        return conId;
    }

    public void setConId(String conId) {
        this.conId = conId;
    }

    public String getPoPerson() {
        return poPerson;
    }

    public void setPoPerson(String poPerson) {
        this.poPerson = poPerson;
    }

    public Integer getPoSumnum() {
        return poSumnum;
    }

    public void setPoSumnum(Integer poSumnum) {
        this.poSumnum = poSumnum;
    }

    public BigDecimal getPoSumprice() {
        return poSumprice;
    }

    public void setPoSumprice(BigDecimal poSumprice) {
        this.poSumprice = poSumprice;
    }

    public Date getPoTime() {
        return poTime;
    }

    public void setPoTime(Date poTime) {
        this.poTime = poTime;
    }

    public String getPoState() {
        return poState;
    }

    public void setPoState(String poState) {
        this.poState = poState;
    }

    public String getPoRemark() {
        return poRemark;
    }

    public void setPoRemark(String poRemark) {
        this.poRemark = poRemark;
    }

    public String getIsva() {
        return isva;
    }

    public void setIsva(String isva) {
        this.isva = isva;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getCztime() {
        return cztime;
    }

    public void setCztime(Date cztime) {
        this.cztime = cztime;
    }
}